package com.yuwei.mine

import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.yuwei.base.RoutePath
import com.yuwei.common.mvi.BaseViewActivity
import com.yuwei.mine.databinding.ActivityOrderDetailBinding

@Route(path = RoutePath.MODULE_MINE_ORDER_DETAIL_ACTIVITY)
class OrderDetailActivity : BaseViewActivity<ActivityOrderDetailBinding>() {

    override fun initView() {
        binding.llDetailLianKefu.setOnClickListener {
            ARouter.getInstance().build(RoutePath.MODULE_LOGIN_WEB_ACTIVITY)
                .withString("url","https://www.byd.com/cn/chat")
                .navigation()
        }
        binding.tvAfterSales.setOnClickListener {
            ARouter.getInstance().build(RoutePath.MODULE_MINE_AFTER_SALES_ACTIVITY).navigation()
        }
        binding.ivBack.setOnClickListener {
            finish()
        }
    }


    override fun initData() {

    }
}